import request from "@/utils/requestAgo";

/**
 *  获取地址列表数据
 */
export function getCode(tel) {
  return request({
    url: '/sendCode/' + tel,
    method: "get",
  });
}

/**
 *  注册
 */
export function register(data) {
  return request({
    url: '/loginMini',
    method: "post",
    data,
  });
}